// 通用方法
import request from '@/utils/request'

// 通用下载API
export function downloadAPI(data) {
	return request({
		headers: { repeatSubmit: false },
		url: '/system/oss/download/downloadUrlByDto',
		method: 'post',
		data
	})
}

// 幅宽缩率详情下载排版资料
export function downloadProblemFeedbackAPI(data) {
	return request({
		headers: { repeatSubmit: false },
		url: '/glm/problem/download/downloadProblemFeedback ',
		method: 'post',
		data
	})
}
